<template>
	<view class="wap">
		<navbar :parameter='parameter'></navbar>
		<video :src="imageUrl+video_file"></video>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				parameter: {
					'navbar': '1',
					'return': '1',
					'title': '培训视频',
					'color': true,
					'class': 'on'
				},
				imageUrl: this.imageUrl,
				video_file: '',
			};
		},
		onLoad(option) {
			this.video_file = option.video_file
		},
		onShow() {

		},
		/**
		 * 用户点击右上角分享
		 */
		onShareAppMessage: function() {
		
		},
		onShareTimeline(res) { //分享到朋友圈
		
		},

		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.wap {
		padding: 50rpx 30rpx;
	}

	.wap video {
		width: 100%;
	}
</style>
